package org.spring.springboot.domain.join;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TsFastJoinInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    private Integer offset;
    private Integer limit;


    public TsFastJoinInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andJoinPhoneIsNull() {
            addCriterion("join_phone is null");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneIsNotNull() {
            addCriterion("join_phone is not null");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneEqualTo(String value) {
            addCriterion("join_phone =", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneNotEqualTo(String value) {
            addCriterion("join_phone <>", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneGreaterThan(String value) {
            addCriterion("join_phone >", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("join_phone >=", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneLessThan(String value) {
            addCriterion("join_phone <", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneLessThanOrEqualTo(String value) {
            addCriterion("join_phone <=", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneLike(String value) {
            addCriterion("join_phone like", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneNotLike(String value) {
            addCriterion("join_phone not like", value, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneIn(List<String> values) {
            addCriterion("join_phone in", values, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneNotIn(List<String> values) {
            addCriterion("join_phone not in", values, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneBetween(String value1, String value2) {
            addCriterion("join_phone between", value1, value2, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinPhoneNotBetween(String value1, String value2) {
            addCriterion("join_phone not between", value1, value2, "joinPhone");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeIsNull() {
            addCriterion("join_create_time is null");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeIsNotNull() {
            addCriterion("join_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeEqualTo(String value) {
            addCriterion("join_create_time =", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeNotEqualTo(String value) {
            addCriterion("join_create_time <>", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeGreaterThan(String value) {
            addCriterion("join_create_time >", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("join_create_time >=", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeLessThan(String value) {
            addCriterion("join_create_time <", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("join_create_time <=", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeLike(String value) {
            addCriterion("join_create_time like", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeNotLike(String value) {
            addCriterion("join_create_time not like", value, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeIn(List<String> values) {
            addCriterion("join_create_time in", values, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeNotIn(List<String> values) {
            addCriterion("join_create_time not in", values, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeBetween(String value1, String value2) {
            addCriterion("join_create_time between", value1, value2, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinCreateTimeNotBetween(String value1, String value2) {
            addCriterion("join_create_time not between", value1, value2, "joinCreateTime");
            return (Criteria) this;
        }

        public Criteria andJoinNameIsNull() {
            addCriterion("join_name is null");
            return (Criteria) this;
        }

        public Criteria andJoinNameIsNotNull() {
            addCriterion("join_name is not null");
            return (Criteria) this;
        }

        public Criteria andJoinNameEqualTo(String value) {
            addCriterion("join_name =", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameNotEqualTo(String value) {
            addCriterion("join_name <>", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameGreaterThan(String value) {
            addCriterion("join_name >", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameGreaterThanOrEqualTo(String value) {
            addCriterion("join_name >=", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameLessThan(String value) {
            addCriterion("join_name <", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameLessThanOrEqualTo(String value) {
            addCriterion("join_name <=", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameLike(String value) {
            addCriterion("join_name like", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameNotLike(String value) {
            addCriterion("join_name not like", value, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameIn(List<String> values) {
            addCriterion("join_name in", values, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameNotIn(List<String> values) {
            addCriterion("join_name not in", values, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameBetween(String value1, String value2) {
            addCriterion("join_name between", value1, value2, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinNameNotBetween(String value1, String value2) {
            addCriterion("join_name not between", value1, value2, "joinName");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkIsNull() {
            addCriterion("join_audit_remark is null");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkIsNotNull() {
            addCriterion("join_audit_remark is not null");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkEqualTo(String value) {
            addCriterion("join_audit_remark =", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkNotEqualTo(String value) {
            addCriterion("join_audit_remark <>", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkGreaterThan(String value) {
            addCriterion("join_audit_remark >", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("join_audit_remark >=", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkLessThan(String value) {
            addCriterion("join_audit_remark <", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkLessThanOrEqualTo(String value) {
            addCriterion("join_audit_remark <=", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkLike(String value) {
            addCriterion("join_audit_remark like", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkNotLike(String value) {
            addCriterion("join_audit_remark not like", value, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkIn(List<String> values) {
            addCriterion("join_audit_remark in", values, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkNotIn(List<String> values) {
            addCriterion("join_audit_remark not in", values, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkBetween(String value1, String value2) {
            addCriterion("join_audit_remark between", value1, value2, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditRemarkNotBetween(String value1, String value2) {
            addCriterion("join_audit_remark not between", value1, value2, "joinAuditRemark");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeIsNull() {
            addCriterion("join_audit_time is null");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeIsNotNull() {
            addCriterion("join_audit_time is not null");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeEqualTo(Date value) {
            addCriterion("join_audit_time =", value, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeNotEqualTo(Date value) {
            addCriterion("join_audit_time <>", value, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeGreaterThan(Date value) {
            addCriterion("join_audit_time >", value, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("join_audit_time >=", value, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeLessThan(Date value) {
            addCriterion("join_audit_time <", value, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeLessThanOrEqualTo(Date value) {
            addCriterion("join_audit_time <=", value, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeIn(List<Date> values) {
            addCriterion("join_audit_time in", values, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeNotIn(List<Date> values) {
            addCriterion("join_audit_time not in", values, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeBetween(Date value1, Date value2) {
            addCriterion("join_audit_time between", value1, value2, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditTimeNotBetween(Date value1, Date value2) {
            addCriterion("join_audit_time not between", value1, value2, "joinAuditTime");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagIsNull() {
            addCriterion("join_audit_flag is null");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagIsNotNull() {
            addCriterion("join_audit_flag is not null");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagEqualTo(String value) {
            addCriterion("join_audit_flag =", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagNotEqualTo(String value) {
            addCriterion("join_audit_flag <>", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagGreaterThan(String value) {
            addCriterion("join_audit_flag >", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagGreaterThanOrEqualTo(String value) {
            addCriterion("join_audit_flag >=", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagLessThan(String value) {
            addCriterion("join_audit_flag <", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagLessThanOrEqualTo(String value) {
            addCriterion("join_audit_flag <=", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagLike(String value) {
            addCriterion("join_audit_flag like", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagNotLike(String value) {
            addCriterion("join_audit_flag not like", value, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagIn(List<String> values) {
            addCriterion("join_audit_flag in", values, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagNotIn(List<String> values) {
            addCriterion("join_audit_flag not in", values, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagBetween(String value1, String value2) {
            addCriterion("join_audit_flag between", value1, value2, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinAuditFlagNotBetween(String value1, String value2) {
            addCriterion("join_audit_flag not between", value1, value2, "joinAuditFlag");
            return (Criteria) this;
        }

        public Criteria andJoinN1IsNull() {
            addCriterion("join_n1 is null");
            return (Criteria) this;
        }

        public Criteria andJoinN1IsNotNull() {
            addCriterion("join_n1 is not null");
            return (Criteria) this;
        }

        public Criteria andJoinN1EqualTo(String value) {
            addCriterion("join_n1 =", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1NotEqualTo(String value) {
            addCriterion("join_n1 <>", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1GreaterThan(String value) {
            addCriterion("join_n1 >", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1GreaterThanOrEqualTo(String value) {
            addCriterion("join_n1 >=", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1LessThan(String value) {
            addCriterion("join_n1 <", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1LessThanOrEqualTo(String value) {
            addCriterion("join_n1 <=", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1Like(String value) {
            addCriterion("join_n1 like", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1NotLike(String value) {
            addCriterion("join_n1 not like", value, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1In(List<String> values) {
            addCriterion("join_n1 in", values, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1NotIn(List<String> values) {
            addCriterion("join_n1 not in", values, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1Between(String value1, String value2) {
            addCriterion("join_n1 between", value1, value2, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN1NotBetween(String value1, String value2) {
            addCriterion("join_n1 not between", value1, value2, "joinN1");
            return (Criteria) this;
        }

        public Criteria andJoinN2IsNull() {
            addCriterion("join_n2 is null");
            return (Criteria) this;
        }

        public Criteria andJoinN2IsNotNull() {
            addCriterion("join_n2 is not null");
            return (Criteria) this;
        }

        public Criteria andJoinN2EqualTo(String value) {
            addCriterion("join_n2 =", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2NotEqualTo(String value) {
            addCriterion("join_n2 <>", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2GreaterThan(String value) {
            addCriterion("join_n2 >", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2GreaterThanOrEqualTo(String value) {
            addCriterion("join_n2 >=", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2LessThan(String value) {
            addCriterion("join_n2 <", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2LessThanOrEqualTo(String value) {
            addCriterion("join_n2 <=", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2Like(String value) {
            addCriterion("join_n2 like", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2NotLike(String value) {
            addCriterion("join_n2 not like", value, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2In(List<String> values) {
            addCriterion("join_n2 in", values, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2NotIn(List<String> values) {
            addCriterion("join_n2 not in", values, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2Between(String value1, String value2) {
            addCriterion("join_n2 between", value1, value2, "joinN2");
            return (Criteria) this;
        }

        public Criteria andJoinN2NotBetween(String value1, String value2) {
            addCriterion("join_n2 not between", value1, value2, "joinN2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
